package com.admin.education.repositories;

import com.admin.education.config.DMLPOJOAnnotation;
import com.admin.education.models.Categorys;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;

@Repository
public class CategorysRepository extends AbstractRepository<Categorys> {
    @Override
    @Transactional
    @DMLPOJOAnnotation(action = "Create")
    public void persist(Object entity) {
        super.persist(entity);
    }
}
